package javase.array;

import java.util.Scanner;

public class ArrayTest {
    public static void main(String[] args) {
//        Hash hash=new Hash();
//        char[] chars=new char[4];
//        System.out.println(chars[1]);
//        int[] arr=new int[5];
//        int[] arr1={1,2,2};
//        System.out.println(arr);
//        int[] arr2=arr1;
//        System.out.println(arr2);
//        System.out.println(hash.toString());
//
//        String[] arr = {"一", "二", "三", "四", "五", "六", "七"};
//        Scanner sc = new Scanner(System.in);
//        System.out.println("输入星期几:");
//        int date = sc.nextInt();
//        System.out.println(arr[date-1]);
//        int[] arrr={};
//        int[][]arrrr=new int[10][];
//        System.out.println(arrr[0]);
//        int[][] arr=new int[2][2];
//        System.out.println(arr[0]);
//        System.out.println(arr[1][0]);
//        int[][] arr1=new int[2][];
//        System.out.println(arr1[1]);
//        System.out.println(arr1[1][0]);
        int[][] arr={{1,2,3},{0,2,1}};
        for (int i = 0; i < arr.length ; i++) {
            for (int j = 0; j < arr[i].length; j++) {
                System.out.print(arr[i][j]);
            }
            System.out.println();

        }

    }
}
